package com.luo.pojo;

public class Announcement {
    private Integer annId;
    private String annTitle;
    private String annContent;
    private String annDate;

    public Announcement() {
    }

    public Announcement(Integer annId, String annTitle, String annContent, String annDate) {
        this.annId = annId;
        this.annTitle = annTitle;
        this.annContent = annContent;
        this.annDate = annDate;
    }

    @Override
    public String toString() {
        return "Announcement{" +
                "annId=" + annId +
                ", annTitle='" + annTitle + '\'' +
                ", annContent='" + annContent + '\'' +
                ", annDate='" + annDate + '\'' +
                '}';
    }

    public Integer getAnnId() {
        return annId;
    }

    public void setAnnId(Integer annId) {
        this.annId = annId;
    }

    public String getAnnTitle() {
        return annTitle;
    }

    public void setAnnTitle(String annTitle) {
        this.annTitle = annTitle;
    }

    public String getAnnContent() {
        return annContent;
    }

    public void setAnnContent(String annContent) {
        this.annContent = annContent;
    }

    public String getAnnDate() {
        return annDate;
    }

    public void setAnnDate(String annDate) {
        this.annDate = annDate;
    }
}
